
namespace RCDX11
{
	#if defined DLL_EXPORT
	#define DECLDIR __declspec(dllexport)
	#else
	#define DECLDIR __declspec(dllimport)
	#endif

	#ifndef SAFE_DELETE_ARRAY
	#define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p);   (p)=NULL; } }
	#endif
	#ifndef SAFE_RELEASE
	#define SAFE_RELEASE(p)      { if(p) { (p)->Release(); (p)=NULL; } }
	#endif
}